<?php
/**
 * Created by XM·Tan.
 * Motto: Who shuts love out, in turn shall be shut out from love.
 * Date: 2021/3/25 0:26
 */

namespace app\admin\validate;


use think\Validate;

class AdminAuth extends Validate {

    protected $rule = [
        'title' => 'require|token',
    ];

    protected $message = [
        'title' => '请输入权限名称',
    ];

    protected $scene = [
        'insert'  =>  ['title'],
        'update'  =>  ['title'],
    ];

}